package com.xxx.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author WangXJ
 * @since 2021-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserBook implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 这是用户的id
     */
    private Integer uid;

    /**
     * 这是书籍的id
     */
    private Integer bid;

    /**
     * 这是书籍的数量
     */
    private Integer bsum;


}
